package cn.jhz.learn.blog.service.core.open.article;

import cn.jhz.learn.blog.vo.article.query.view.ArticleView;
import cn.jhz.learn.blog.vo.article.query.page.ArticlePageView;
import com.github.pagehelper.PageInfo;

import java.util.Map;


public interface ArticleService {
    PageInfo<ArticleView> getPage(ArticlePageView pageView);

    PageInfo<ArticleView> getPage(Integer uid, ArticlePageView pageView);

    Map<String, Object> getDetail(Integer id);

    Map<String, Object> getDetail(Integer uid, Integer id);
}
